package com.sun.umbrella.service.shiro.enums;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Jay
 * @version v1.0
 * @description 授权、登录 相关枚举
 */
public enum UmbrellaEnum{
   // 登录相关
    LOGIN_SUCCESS(200,"登录成功"),
    LOGIN_ERROR(-10086,"登录失败");


    @Setter
    @Getter
    private int code;

    @Setter
    @Getter
    private String message;

    UmbrellaEnum(int code, String message){
         this.code=code;
         this.message=message;
    }
}
